<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{$menu.menu_seo_title|default=$site_seo_title} {$site_name}</title>
    <meta name="keywords" content="{$menu.menu_seo_key|default=$site_seo_keywords}" />
    <meta name="description" content="{$menu.menu_seo_des|default=$site_seo_description}">
    {include file="public:head" /}
</head>
<body>
<script src="__PUBLIC__/others/jquery.form.js"></script>

<div class="wrap">
    <!--top-->
    {include file="public:top"/}
    <!--top end-->
    <div class="Container innerPage">
        <div class="SideBar">
            <h2 id="sideTitle" class="sidetop">网站导航</h2>
            <ul class="SideMenu" id="sidemenu0" style="display:none">


                <li class="button"><a id="menuId_gzdt" class="all" href="../../gzjt/gzdt/list.shtml">工作动态</a></li>

                <li class="button"><a id="menuId_tpxw" class="all" href="../../gzjt/tpxw/pic_list.shtml">图片新闻</a></li>

            </ul>
            <ul class="SideMenu" id="sidemenu1" style="display:none">


            </ul>


        </div>
        <div class="MainContent">
            <div class="curb">您现在的位置：
                <a href='/'  target="_self">首页</a>&nbsp;>&nbsp;<a href='javascript:void(0);'  target="_self">{$menu['menu_name']}</a>

            </div>

            <div  id="news_list">
                {include file="ajax_list"/}
            </div>
        </div>
    </div>
    <!--bottom-->
    {include file="public:bottom"/}
    <!--bottom end-->

</div>

{literal}
<script>
    //ajaxform提交
    $(function(){
        $('.ajax-form').ajaxForm({
            success: complete, // 这是提交后的方法
            dataType: 'json'
        });
        function complete(data){
            if(data.code==1){
                layer.alert(data.msg, {icon: 6}, function(index){
                    layer.close(index);
                    window.location.href=data.url;
                });
            }else{
                layer.alert(data.msg, {icon: 5}, function(index){
                    layer.close(index);
                });
            }
            return false;
        }
    });
    //ajax分页
    function ajax_page(page) {
        $.ajax({
            type:"POST",
            data:{page:page},
            success: function(data,status){
                $("#news_list").html(data);
            }
        });
    }
</script>
{/literal}

</body>
</html>